<?
require_once("conn.php");
$search = $_REQUEST["search"];
?>
<script>
	  searchProduct("");
</script>
<table>
	<tr>
		<td align="center"><a href="#" onclick="loadCatManage()">Category Manage</a></td>
		<td align="center"> | <a href="#" onclick="loadProManage()">Product Manage</a></td>
		<td align="center"> | <a href="#" onclick="loadUnitManage()">Unit Manage</a></td>
	</tr>
</table><br>
<div id="dialogEditProduct"></div>

<div><span style="float:left;"><?if(checkAccess("4")){?><a href="#" onclick="frmAddProduct()">Add New</a><br><?}?></span><span style="float:right;">Search : <input type="text" id="searchText" onkeyup="searchProduct()"></span></div><br><br>
<div id="productTable"><img src="images/loading.gif"></div>